#version 460

//GL_EXT_scalar_block_layout

layout(location = 0) in vec2 inPos;
layout(location = 1) in vec2 inWeights;
layout(location = 2) in vec2 inNormal;

layout(location = 1) out VS_GS_VERTEX {
	vec2 outPos;
	uint vInstance;
	uint vVertexIndex;
}vertex_out;




//vec2 pos[4] = {vec2(10.0, 10.0), vec2(100.0, 10.0), vec2(10.0, 100.0), vec2(100.0, 100.0)};
void main(void){
	vertex_out.vInstance = gl_InstanceIndex;
	vertex_out.vVertexIndex = gl_VertexIndex;
	vertex_out.outPos = inPos;
	
}


